home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
man
/
cmds.fmt
/
h2ph.man
< prev
next >
Wrap
Text File
|
1992-08-13
|
1KB
|
67 lines
H2PH User Commands H2PH
NNAAMMEE
h2ph - convert .h C header files to .ph Perl header files
SSYYNNOOPPSSIISS
hh22pphh [[hheeaaddeerrffiilleess]]
DDEESSCCRRIIPPTTIIOONN
_h_2_p_h converts any C header files specified to the
corresponding Perl header file format. It is most easily
run while in /usr/include:
cd /usr/include; h2ph * sys/*
If run with no arguments, filters standard input to standard
output.
EENNVVIIRROONNMMEENNTT
No environment variables are used.
FFIILLEESS
/usr/include/*.h
/usr/include/sys/*.h
etc.
AAUUTTHHOORR
Larry Wall
SSEEEE AALLSSOO
perl(1)
DDIIAAGGNNOOSSTTIICCSS
The usual warnings if it can't read or write the files
involved.
BBUUGGSS
Doesn't construct the %sizeof array for you.
It doesn't handle all C constructs, but it does attempt to
isolate definitions inside evals so that you can get at the
definitions that it can translate.
It's only intended as a rough tool. You may need to dicker
with the files produced.
Sprite v1.0 August 8, 1990 1